package com.haoshui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haoshui.domain.entity.RoleMenu;

import java.util.List;

/**
 * 角色和菜单关联表(RoleMenu)表服务接口
 *
 * @author makejava
 * @since 2022-09-30 20:59:55
 */
public interface RoleMenuService extends IService<RoleMenu> {

    List<Long> selectMenusByRoleId(Long roleId);

    boolean addRoleMenu(Long id, List<Long> menuIds);

    boolean updateRoleMenu(Long id, List<Long> menuIds);
}
